package com.Test.SportsPerson;

public class BasketballPlayer extends Person{
    public BasketballPlayer(String name, int age) {
        super(name, age);
    }

    public BasketballPlayer() {
    }
    public void play(Person person) {
        System.out.println(person.getName()+"学打篮球");
    }

}
